package top.sdwu_top.kbase.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import top.sdwu_top.kbase.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文档贡献申请
 * </p>
 *
 * @author zhipeng.duan@nvr-china.com
 * @since 2020-03-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="KbaseFileVersionApply对象", description="文档贡献申请")
public class KbaseFileVersionApply extends BaseEntity {

    private static final long serialVersionUID=1L;

    @JsonIgnore
    @ApiModelProperty(value = "版本文件名路径")
    @TableField("FILE_VERSION_PATH")
    private String fileVersionPath;

    @ApiModelProperty(value = "存储方式")
    @TableField("STORE_TYPE")
    private String storeType;

    @ApiModelProperty(value = "文件ID")
    @TableField("FILE_ID")
    private String fileId;

    @ApiModelProperty(value = "文件类型")
    @TableField("FILE_TYPE")
    private String fileType;

    @TableField("CONTENT")
    private String content;

    @ApiModelProperty(value = "所属人")
    @TableField("OWNER")
    private String owner;

    @ApiModelProperty(value = "审批状态")
    @TableField("STATE")
    private String state;

    @TableField(exist = false)
    private String stateName;

}
